package com.wanmait.wanmarecruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.wanmarecruit.entity.Notice;

import java.util.List;

public interface NoticeService extends IService<Notice> {
    PageInfo<Notice> selectAllNoticeByUser(Integer userId,Integer pageNum,Integer pageSize);
    Integer getAllNoticeNotRead(Integer userId);
    void updateBatchIsReading(Integer[] ids);
    void updateNoticeIsReadingById(Integer id);
    void deleteBatchByIds(Integer[] ids);
}
